package com.aline.seo.repository;

import com.aline.seo.entity.Menu;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName MenuRepository
 * @Description
 * @Author 孟志浩
 * @Date 2019/4/11 13:12
 **/
@Repository
public interface MenuRepository extends JpaRepository<Menu, Long> {

    List<Menu> findMenusByMethod(String method);

}
